package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiPort;
import com.tjmc.tiomscore.model.TiPortExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiPortMapper {
    long countByExample(TiPortExample example);

    int deleteByExample(TiPortExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiPort record);

    int insertSelective(TiPort record);

    List<TiPort> selectByExample(TiPortExample example);

    TiPort selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiPort record, @Param("example") TiPortExample example);

    int updateByExample(@Param("record") TiPort record, @Param("example") TiPortExample example);

    int updateByPrimaryKeySelective(TiPort record);

    int updateByPrimaryKey(TiPort record);

    void truncateTable();

    void insertDataFromTranPtnPort();

    void correctTplId();
}